<extend name="Base/common"/>
<block name="head_css">
<link href="__PUBLIC__/icheck/skins/square/green.css" rel="stylesheet">
</block>
<block name="head_script">
<script type="text/javascript" src="__PUBLIC__/icheck/icheck.min.js"></script>
</block>
<block name="body">
    <div class="insurance discharge">
        <div class="width1000">
            <div class="step_info">
                <div class="write_info on">录入保单信息</div>
                <div class="get_price">获取精确报价</div>
                <div class="cash_money">支付保单</div>
                <div style="clear:both"></div>
            </div>
            <div class="ins_tab">
                <a href="javascript:void(0);" class="f_l ins_tab_li">定制我的车险</a>
            </div>
            <form action="{:U('step3')}" method="post" class="form_all" id="frmSelect">
                <table class="table table-hover table-bordered">
                    <col width="50"/>
                    <tr>
                        <th></th>
                        <th>车型代码</th>
                        <th>车型名称</th>
                        <th>品牌名称</th>
                        <th>新车置购价</th>
                        <th>核定载客人数</th>
                        <th>排气量</th>
                    </tr>
                    <volist name="vhlmodel_list" id="model">
                    <tr>
                        <td>
                            <input type="radio" name="model_indx" value="{$key}" id="model_indx_{$key}" <if condition="$i eq 1">checked="checked"</if>>
                        </td>
                        <td>
                            {$model.C_VEHICLE_CODE}
                        </td>
                        <td>{$model.C_VEHICLE_NAME}</td>
                        <td>{$model.C_VEHICLE_BRAND}</td>
                        <td>￥{$model.N_VEHICLE_PRICE}</td>
                        <td>{$model.N_LIMIT_LOAD_PERSON}</td>
                        <td>{$model.C_EXT_MSR}</td>
                    </tr>
                    </volist>
                </table>
                <input type="submit" value="下一步" class="form_submit" />
            </form>
        </div>
    </div>
    </block>
<block name="script">
<script type="text/javascript" src="__PUBLIC__/Home/js/insurance.js"></script>
<script type="text/javascript">
    $().ready(function(){
         var validator = $("#frmSelect").validate({
                rules:{
                    model_indx:{
                        required:true
                    }
                }   
        });
    });

</script>
</block>
